package com.wkt.ggkt.model.vod;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wkt.ggkt.model.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程科目
 * </p>
 *
 * @author wkt
 * @since 2022-07-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Subject extends BaseEntity implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * 类别名称
     */
    private String title;

    /**
     * 父ID
     */
    private Long parentId;

    /**
     * 排序字段
     */
    private Integer sort;


    @ApiModelProperty("是否包含子节点")
    @TableField(exist = false)
    private boolean hasChildren;

}
